package org.glut.backend.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.glut.backend.domain.PerformanceOrder;
import org.glut.backend.domain.PerformanceOrderResponse;
import org.glut.backend.mapper.PerformanceOrderMapper;
import org.glut.backend.service.IPerformanceOrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 订单表 服务实现类
 *
 * @author hjd
 * @since 2025-08-06 22:46
 */
@Service
public class PerformanceOrderServiceImpl extends ServiceImpl<PerformanceOrderMapper, PerformanceOrder> implements IPerformanceOrderService {

    //调用mapper层接口，而mapper层靠xml实现
    @Autowired
    PerformanceOrderMapper performanceOrderMapper;

    @Override
    public List<PerformanceOrderResponse> selectPerformanceOrderById(Integer id) {
        return performanceOrderMapper.selectPerformanceOrderById(id);
    }
}
